|
Neurosis Engine
|
#include <io_misc.h>
Classes | |
| class | CJoystick |
| class | CKeyboard |
| class | CMouse |
Public Member Functions | |
| CNeurosisController (int iType=MOUSE) | |
| ~CNeurosisController () | |
| Constructor/Deconstructor. | |
| void | Clear () |
| Clear button and movement input. | |
| bool | Interval (float2 *key, float interval) |
| Check whether button press is within interval. | |
| void | Update (float timeStep, bool mouseBoundsReset) |
| Update joystick/keyboard button/movement information. | |
Public Attributes | |
| CJoystick | mJoystick |
| CKeyboard | mKeyboard |
| CMouse | mMouse |
| float2 | mButton [9] |
| float2 | mDirection [4] |
| int | mType |
| CNeurosisController::CNeurosisController | ( | int | iType = MOUSE | ) |
Constructor/Deconstructor.
| void CNeurosisController::Clear | ( | ) |
Clear button and movement input.
| bool CNeurosisController::Interval | ( | float2 * | key, |
| float | interval | ||
| ) |
Check whether button press is within interval.
| void CNeurosisController::Update | ( | float | timeStep, |
| bool | mouseBoundsReset | ||
| ) |
Update joystick/keyboard button/movement information.
1.7.6.1